HDDS-2201. Rename VolumeList to UserVolumeInfo.#1566
HDDS-2201. Rename VolumeList to UserVolumeInfo.#1566anuengineer merged 2 commits intoapache:trunkfrom
Conversation
| @@ -27,22 +28,22 @@ | |||
| /** | |||
| * Codec to encode VolumeList as byte array. | |||
There was a problem hiding this comment.
Javadoc needs to be updated
There was a problem hiding this comment.
Thank you for catching this, fixed.
| @@ -53,7 +53,7 @@ public OMVolumeRequest(OMRequest omRequest) { | |||
| * @return VolumeList - updated volume list for the user. | |||
There was a problem hiding this comment.
Javadoc needs to be updated.
There was a problem hiding this comment.
Thank you for catching this, fixed.
| /** | ||
| * Tests for OM Response. | ||
| */ | ||
| package org.apache.hadoop.ozone.om.response; No newline at end of file |
There was a problem hiding this comment.
New line missing at end of file.
There was a problem hiding this comment.
Thank you for catching this, fixed.
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| package org.apache.hadoop.ozone.om.response.volume; No newline at end of file |
There was a problem hiding this comment.
Missing javadoc and new line at EOF.
There was a problem hiding this comment.
Thank you for catching this, fixed.
There was a problem hiding this comment.
Thanks @anuengineer for working on this.
Overall looks good, some minor comments inline regarding javadocs.
Pending CI.
|
💔 -1 overall
This message was automatically generated. |
dineshchitlangia
left a comment
There was a problem hiding this comment.
+1 Pending CI, thanks @anuengineer !
|
💔 -1 overall
This message was automatically generated. |
|
Test failures are not related to this patch. Committed to trunk. @dineshchitlangia Thank you for the review. |
https://issues.apache.org/jira/browse/HDDS-2201
Under Ozone Manager, The volume points to a structure called volumeInfo, Bucket points to BucketInfo, Key points to KeyInfo. However, User points to VolumeList. duh?
This JIRA proposes to refactor the VolumeList as UserVolumeInfo. Why not, UserInfo, because that structure is already taken by the security work of Ozone Manager.
How tested: Ran unit.sh